import request from "@/utile/request.js";

 // http://82.157.146.153:8090/admin/auth/login
export function login(data) {
    return request(
        {
            url: 'admin/auth/login',
            method: 'post',
            data:data
        }   )
    }
// http://82.157.146.153:8090/admin/goods/list?page=1&limit=20&sort=add_time&order=desc
export function shopList() {
    return request(
        {
            url: 'admin/goods/list?page=1&limit=20&sort=add_time&order=desc',
            method: 'get',
        }
    )
}


